Keybinding to focus the active notification.
</description>
</key>
- <key name="pause-resume-tweens" type="as">
- <default>[]</default>
- <summary>Keybinding that pauses and resumes all running tweens, for debugging purposes</summary>
- <description></description>
- </key>
<key name="switch-to-application-1" type="as">
<default>["<Super>1"]</default>
<summary>Switch to application 1</summary>
Shell.ActionMode.OVERVIEW,
this._startSwitcher.bind(this));
- this.addKeybinding('pause-resume-tweens',
- new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
- Meta.KeyBindingFlags.NONE,
- Shell.ActionMode.ALL,
- this._toggleTweens.bind(this));
-
this.addKeybinding('open-application-menu',
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
Main.panel.toggleCalendar();
}
- _toggleTweens() {
- this._tweensPaused = !this._tweensPaused;
- const OrigTweener = imports.tweener.tweener;
- if (this._tweensPaused)
- OrigTweener.pauseAllTweens();
- else
- OrigTweener.resumeAllTweens();
- }
-
_showWorkspaceSwitcher(display, window, binding) {
let workspaceManager = display.get_workspace_manager();